package com.yilemall.member.feign;

import com.yilemall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author wangxiaoqi
 * @Description TODO 调用coupon-优惠券服务
 * @date 2020-10-10 9:50
 */
@FeignClient("yilemall-coupon")
public interface CouponFeignService {
    @RequestMapping("coupon/coupon/info/{id}")
    public R info(@PathVariable("id") Long id);
}